module.exports = {
	goods: {
		data: {
			total: 50,
			pagenum: '1',
			goods: [
				{
					goods_id: 144,
					goods_name: 'asfdsd',
					goods_price: 1,
					goods_number: 1,
					goods_weight: 1,
					goods_state: null,
					add_time: 1512954923,
					upd_time: 1512954923,
					hot_mumber: 0,
					is_promote: false,
				},
			],
		},
		meta: {
			msg: '获取成功',
			status: 200,
		},
	},
	goodsid: {
		data: {
			goods_id: 145,
			goods_name: 'test_goods_name2',
			goods_price: 20,
			goods_number: 30,
			goods_weight: 40,
			goods_introduce: 'abc',
			goods_big_logo: '',
			goods_small_logo: '',
			goods_state: 1,
			add_time: 1512962370,
			upd_time: 1512962370,
			hot_mumber: 0,
			is_promote: false,
			pics: [
				{
					pics_id: 397,
					goods_id: 145,
					pics_big: 'uploads/goodspics/big_30f08d52c551ecb447277eae232304b8',
					pics_mid: 'uploads/goodspics/mid_30f08d52c551ecb447277eae232304b8',
					pics_sma: 'uploads/goodspics/sma_30f08d52c551ecb447277eae232304b8',
				},
			],
			attrs: [
				{
					goods_id: 145,
					attr_id: 15,
					attr_value: 'ddd',
					add_price: null,
					attr_name: 'fffffff',
					attr_sel: 'many',
					attr_write: 'list',
					attr_vals: '',
				},
				{
					goods_id: 145,
					attr_id: 15,
					attr_value: 'eee',
					add_price: null,
					attr_name: 'fffffff',
					attr_sel: 'many',
					attr_write: 'list',
					attr_vals: '',
				},
			],
		},
		meta: {
			msg: '创建商品成功',
			status: 201,
		},
	},
	putgoodid: {
		goods_name: 'test_goods_name2',
		goods_price: 20,
		goods_number: 30,
		goods_weight: 40,
		goods_introduce: 'abc',
		pics: [{ pic: '/tmp_uploads/30f08d52c551ecb447277eae232304b8' }],
		attrs: [
			{
				attr_id: 15,
				attr_value: 'ddd',
			},
			{
				attr_id: 15,
				attr_value: 'eee',
			},
		],
	},
	delgoodid: {
		data: null,
		meta: {
			msg: '删除成功',
			status: 200,
		},
	},
}
